<template>
  <web-view v-if="src" :src="src"></web-view>
</template>

<script setup lang="ts">
const src = ref('')
onLoad(option => {
  option?.src && (src.value = option.src)
})
</script>
